package com.study.hot.di.dagger.dagger_in_android;

import android.app.Application;

import com.study.hot.di.dagger.DaggerApp;

import dagger.android.AndroidInjector;

/**
 * <pre>
 *     author : slx
 *     time   : 2020/11/25
 *     desc   : 全局唯一一个Component
 * </pre>
 */
/*@Component(modules = {
        AndroidSupportInjectionModule.class,
        //NeedInjectModules.class,
        SupermanModule.class
})*/
public interface AppComponent extends AndroidInjector<DaggerApp> {
    //@Component.Builder
    interface Builder {
        //@BindsInstance
        Builder application(Application application);

        AppComponent build();
    }
}